package com.world.business.realm.domain.query;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * 境界
 *
 * @author: 邓驴
 * @date: 2023/5/16 22:46
 **/
@Data
public class RealmAddRequest {

    @NotBlank(message = "角色Id必填")
    @ApiModelProperty("角色id")
    private String roleId;

    @NotBlank(message = "名称必填")
    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("父类Id")
    private String pid;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("类别")
    private String type;

    @ApiModelProperty("排序")
    @TableField(value = "`rank`")
    private Integer rank;

}

